package com.muyu.danmo;

import com.muyu.common.security.annotation.EnableCustomConfig;
import com.muyu.common.security.annotation.EnableMyFeignClients;
import com.muyu.common.swagger.annotation.EnableCustomSwagger2;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories;

/**
 * @author Administrator
 */
@EnableCustomConfig
@EnableCustomSwagger2
@EnableMyFeignClients
@SpringBootApplication
@Slf4j
@EnableElasticsearchRepositories(basePackages = "com.muyu.danmo.esMapper")
public class  MuYuDanmoApplication {
    public static void main (String[] args) {
        SpringApplication.run(MuYuDanmoApplication.class, args);
        log.info("(♥◠‿◠)ﾉﾞ  Danmo系统启动成功   ლ(´ڡ`ლ)ﾞ  \n");
    }

}
